export let play_rule = {
  namespaced: true,
  state: {
    play_rule_data: [{
        src: require("../images/f.png"),
        info: "列表循环"
      },
      {
        src: require("../images/g.png"),
        info: "单曲循环"
      },
      {
        src: require("../images/h.png"),
        info: "随机播放"
      },
    ],
    play_rule_flag: 0,
    isLoop: false
  },
  mutations: {
    setPlayRuleFlag(state, data) {
      state.play_rule_flag = data;
    },
    setIsLoop(state, data) {
      state.isLoop = data;
    },
  }
}
